#ifndef AIDERTERM_H
#define AIDERTERM_H

#include <QWidget>
#include <QVBoxLayout>
#include <QTimer>
#include <QProcess>
#include <QShortcut>
#include <qtermwidget.h>

class QVBoxLayout;
class QTermWidget;

class AiderTerm : public QWidget {
    Q_OBJECT
public:
    explicit AiderTerm(QWidget *parent = nullptr);
    ~AiderTerm();
    void setPythonBinPath(QString path);
    void setEnv(QString key, QString val);
    void execute(QString apiType, QString apiKey, QString fileName);
    void cd(QString path);

private:
    QVBoxLayout *layout;
    QTermWidget *term;
    QString pythonBinPath = "python";
};

#endif // AIDERTERM_H
